<template>
  <div class="h5-container">
      <div class="textH5">我的H5</div>
      <div class="addPage" @click="onH5">
        <div class="wrap">
            <i class="el-icon-plus"/>
            <span class="textAddPage">新建页面</span>
        </div> 
      </div>
  </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
    methods: {
        onH5() {
            this.$router.push('/makeH5')
        }
    }
}
</script>

<style lang="scss" scoped>
.h5-container {
    .textH5 {
        padding: 30px;
        color: #25a589;
        line-height: 30px;
        font-size: 30px;
    }
    .addPage {
        margin-left: 30px;
        width: 200px;
        line-height: 300px;
        text-align: center;
        cursor: pointer;
        border: 1px dashed #909399;
        border-radius: 5px;
        &:hover {
            border: 1px dashed #409EFF;
            color: #409EFF;
        }
    }
}
</style>>

</style>